package com.longagoewk.springboot.service;

import com.longagoewk.springboot.dao.MuseumDao;
import com.longagoewk.springboot.entity.MuseumBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MuseumService {

    @Autowired
    MuseumDao museumDao;

    //获取博物馆信息
    public MuseumBean getMuseum(MuseumBean museumBean){
        return museumDao.getMuseum(museumBean);
    }

    //更新博物馆信息
    public boolean updateUser(MuseumBean museumBean){
        return museumDao.updateUser(museumBean);
    }

}
